package com.kh.statistics.video.core.login;

import com.kh.statistics.video.entity.VideoAccountsHealth;
import com.kh.statistics.video.entity.VideoAccountsLogin;
import org.openqa.selenium.WebDriver;

import java.io.IOException;

/**
 * @ClassName AccountsLogin
 * @Description TODO
 * @Author konghong1
 * @Date 2024/5/12 12:55
 * @Version 1.0
 **/
public interface AccountsLogin {
    String support();

    Boolean login(VideoAccountsLogin videoAccountsLogin, WebDriver driver) throws IOException, InterruptedException;

    /**
     * 创建者服务中心监控检查
     * @param videoAccountsLogin
     * @return
     */
    VideoAccountsHealth creatorHealthChecks(VideoAccountsLogin videoAccountsLogin);

    /**
     * web 端监控检查
     * @param videoAccountsLogin
     * @return
     */
    VideoAccountsHealth webHealthChecks(VideoAccountsLogin videoAccountsLogin);
}
